package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author JerryLu
 * @date 2024/8/25 10:37
 * @description 发货通知单对象 delivery_note
 */
@Data
public class DeliveryNote implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String billno;

    /** 发货单编号 */
    @Excel(name = "发货单编号")
    private String receiptNo;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String billtype;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String biztype;

    /** 通知日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通知日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bizdate;

    /** 发货组织 */
    @Excel(name = "发货组织")
    private String shippingName;

    /** 销售组织 */
    @Excel(name = "销售组织")
    private String salesTissue;

    /** 销售部门 */
    @Excel(name = "销售部门")
    private String salesDept;

    /** 销售组 */
    @Excel(name = "销售组")
    private String salesGroup;

    /** 销售员 */
    @Excel(name = "销售员")
    private String salesPerson;

    /** 发货部门 */
    @Excel(name = "发货部门")
    private String shippingDept;

    /** 库管组 */
    @Excel(name = "库管组")
    private String warehouseGroupName;

    /** 库管员 */
    @Excel(name = "库管员")
    private String warehouseKeeper;

    /** 交货方式 */
    @Excel(name = "交货方式")
    private String deliveryMethod;

    /** 配送方式 */
    @Excel(name = "配送方式")
    private String peisongMethod;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String fuzeren;

    /** 订货客户 */
    @Excel(name = "订货客户")
    private String orderGoods;

    /** 订货联系人 */
    @Excel(name = "订货联系人")
    private String orderGoodsMan;

    /** 订货联系电话 */
    @Excel(name = "订货联系电话")
    private String orderGoodsPhone;

    /** 订货联系地址 */
    @Excel(name = "订货联系地址")
    private String orderGoodsAddress;

    /** 收货客户 */
    @Excel(name = "收货客户")
    private String receivingGoods;

    /** 收货联系人 */
    @Excel(name = "收货联系人")
    private String receivingGoodsMan;

    /** 收货联系电话 */
    @Excel(name = "收货联系电话")
    private String receivingGoodsPhone;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String receivingGoodsAddress;

    /** 收货地点 */
    @Excel(name = "收货地点")
    private String receivingGoodsArea;

    /** 状态: 0-待发货 1-待确认 2-已确认 3-已发货 */
    @Excel(name = "状态: 0-待发货 1-待确认 2-已确认 3-已发货")
    private Integer status;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long uid;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String uname;

    /** 收发货人ID */
    @Excel(name = "收发货人ID")
    private Long takeId;

    /** 收发货人姓名 */
    @Excel(name = "收发货人姓名")
    private String takeName;

    /** 地磅重量 */
    @Excel(name = "地磅重量")
    private BigDecimal poundWeight;

    /** 实际校核重量 */
    @Excel(name = "实际校核重量")
    private BigDecimal handWeight;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
